{% extends "staff/base.html" %}
{% import 'staff/_formhelpers.html' as forms %}

{% block title %} Publish Scores - {{ current_course.display_name_with_semester }}{% endblock %}

{% block main %}
  <section class="content-header">
      <h1>
        Publish {{ assignment.display_name }} Scores
        <small>{{ current_course.offering }}</small>
      </h1>
      <ol class="breadcrumb">
        <li><a href="{{ url_for(".course", cid=current_course.id) }}">
            <i class="fa fa-university"></i> {{ current_course.offering }}
        </a></li>
        <li><a href="{{ url_for('.course_assignments', cid=current_course.id) }}">
          <i class="fa fa-list"></i> Assignments</a>
        </li>
        <li class="active hidden-xs"><a href="{{ url_for('.assignment', cid=current_course.id, aid=assignment.id) }}"><i class="fa fa-book"></i> {{ assignment.display_name }}</a></li>
    	</ol>
  </section>

  <section class="content">

  		{% include 'alerts.html' %}

  		<!-- Default box -->
        <div class="box">
          <div class="box-header with-border">
            <h3 class="box-title">Publish Scores</h3>
                      <div class="box-tools clearfix">
          </div>

          </div>
          <div class="box-body">
          {% call forms.render_form(form, action_url="", action_text='Save', class_='form') %}
            {{ forms.render_field(form.published_scores, label_visible=false, class_="checkbox-list") }}
          {% endcall %}
          </div>
          <!-- /.box-body -->
        </div>
        <!-- /.box -->



{% endblock %}
